﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace O.M.Production.Domain.Entity
{
    /// <summary>
    /// 生产计划表
    /// </summary>
    [SugarTable("production_plan")]
    public class production_plan : BaseModel
    {
        /// <summary>
        /// 计划单号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnDescription = "计划单号", Length = 100)]
        public string production_plan_id { get; set; }

        /// <summary>
        /// 销售ID
        /// </summary>
        [SugarColumn(ColumnDescription = "销售ID", Length = 100)]
        public string? sell_id { get; set; }

        /// <summary>
        /// 计划主题
        /// </summary>
        [SugarColumn(ColumnDescription = "计划主题", Length = 100)]
        public string? planning_theme { get; set; }

        /// <summary>
        /// 单据日期
        /// </summary>
        [SugarColumn(ColumnDescription = "单据日期")]
        public DateTime? document_date { get; set; }

        /// <summary>
        /// 产品概述
        /// </summary>
        [SugarColumn(ColumnDescription = "产品概述", Length = 100)]
        public string? product_overview { get; set; }

        /// <summary>
        /// 销售订单号
        /// </summary>
        [SugarColumn(ColumnDescription = "销售订单号", Length = 100)]
        public string? sales_order_number { get; set; }

        /// <summary>
        /// 关联项目
        /// </summary>
        [SugarColumn(ColumnDescription = "关联项目", Length = 100)]
        public string? associated_project { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnDescription = "备注", Length = 100)]
        public string? remarks { get; set; }
    }
}
